<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>Introduction_to_Algorithms: IntrodunctionToAlgorithm::GraphAlgorithm::Vertex&lt; KType &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Introduction_to_Algorithms
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IntrodunctionToAlgorithm::GraphAlgorithm::Vertex&lt; KType &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Vertex：图的顶点，算法导论22章22.1节  
 <a href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="vertex_8h_source.html">vertex.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ada86f69d9e5f5dcb47b7be1e3a208d06"><td class="memItemLeft" align="right" valign="top">typedef KType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ada86f69d9e5f5dcb47b7be1e3a208d06">KeyType</a></td></tr>
<tr class="separator:ada86f69d9e5f5dcb47b7be1e3a208d06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1913974a4b8371c5a896b098ebf152e"><td class="memItemLeft" align="right" valign="top">typedef int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ac1913974a4b8371c5a896b098ebf152e">VIDType</a></td></tr>
<tr class="separator:ac1913974a4b8371c5a896b098ebf152e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac4aef8b9a11955883ec6f3d3d80d0c8d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ac4aef8b9a11955883ec6f3d3d80d0c8d">Vertex</a> ()</td></tr>
<tr class="memdesc:ac4aef8b9a11955883ec6f3d3d80d0c8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认构造函数，将<code>key</code>设为<code>KType()</code>，编号设为-1，父节点编号设为-1  <a href="#ac4aef8b9a11955883ec6f3d3d80d0c8d">More...</a><br /></td></tr>
<tr class="separator:ac4aef8b9a11955883ec6f3d3d80d0c8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76a188bd466091ab24db73b66552a2cc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#a76a188bd466091ab24db73b66552a2cc">Vertex</a> (const <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ada86f69d9e5f5dcb47b7be1e3a208d06">KeyType</a> &amp;k)</td></tr>
<tr class="memdesc:a76a188bd466091ab24db73b66552a2cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">显式构造函数，指定<code>key</code>  <a href="#a76a188bd466091ab24db73b66552a2cc">More...</a><br /></td></tr>
<tr class="separator:a76a188bd466091ab24db73b66552a2cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a393cb4699ee313b284fe55e036563d5e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#a393cb4699ee313b284fe55e036563d5e">Vertex</a> (const <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ada86f69d9e5f5dcb47b7be1e3a208d06">KeyType</a> &amp;k, <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ac1913974a4b8371c5a896b098ebf152e">VIDType</a> d)</td></tr>
<tr class="memdesc:a393cb4699ee313b284fe55e036563d5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">显式构造函数，指定<code>key</code>和编号  <a href="#a393cb4699ee313b284fe55e036563d5e">More...</a><br /></td></tr>
<tr class="separator:a393cb4699ee313b284fe55e036563d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a982554041f07fc2aaf067fa7e10928b2"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#a982554041f07fc2aaf067fa7e10928b2">to_string</a> () const </td></tr>
<tr class="memdesc:a982554041f07fc2aaf067fa7e10928b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">to_string：返回顶点的字符串描述  <a href="#a982554041f07fc2aaf067fa7e10928b2">More...</a><br /></td></tr>
<tr class="separator:a982554041f07fc2aaf067fa7e10928b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ab85342bae9a63d83eff811557c07e58e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ada86f69d9e5f5dcb47b7be1e3a208d06">KeyType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ab85342bae9a63d83eff811557c07e58e">key</a></td></tr>
<tr class="separator:ab85342bae9a63d83eff811557c07e58e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7010bd64e704f2d210c37007d30fbfa9"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ac1913974a4b8371c5a896b098ebf152e">VIDType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#a7010bd64e704f2d210c37007d30fbfa9">id</a></td></tr>
<tr class="separator:a7010bd64e704f2d210c37007d30fbfa9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac812f623d4955401f9e2c8f45b4d434d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ac1913974a4b8371c5a896b098ebf152e">VIDType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ac812f623d4955401f9e2c8f45b4d434d">parent_id</a></td></tr>
<tr class="separator:ac812f623d4955401f9e2c8f45b4d434d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename KType&gt;<br />
struct IntrodunctionToAlgorithm::GraphAlgorithm::Vertex&lt; KType &gt;</h3>

<p>Vertex：图的顶点，算法导论22章22.1节 </p>
<p>顶点是一个结构体的模板，模板类型为它存储的数据的类型。它主要包含三个数据：</p>
<ul>
<li><code>key</code>:顶点存放的数据</li>
<li><code>id</code>:顶点的编号（从0开始，负编号的节点为无效节点）。它是一个<code>const int</code>，一旦顶点初始化完毕就不可更改。</li>
<li><code>parent_id</code>:父节点的编号。</li>
</ul>
<p>默认情况下：<code>id</code>为-1,<code>parent_id</code>为-1，<code>key</code>为<code>T()</code>。 </p>

<p>Definition at line <a class="el" href="vertex_8h_source.html#l00022">22</a> of file <a class="el" href="vertex_8h_source.html">vertex.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="ada86f69d9e5f5dcb47b7be1e3a208d06"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename KType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef KType <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">IntrodunctionToAlgorithm::GraphAlgorithm::Vertex</a>&lt; KType &gt;::<a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ada86f69d9e5f5dcb47b7be1e3a208d06">KeyType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>顶点存储数据的类型 </p>

<p>Definition at line <a class="el" href="vertex_8h_source.html#l00024">24</a> of file <a class="el" href="vertex_8h_source.html">vertex.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac1913974a4b8371c5a896b098ebf152e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename KType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef int <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">IntrodunctionToAlgorithm::GraphAlgorithm::Vertex</a>&lt; KType &gt;::<a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ac1913974a4b8371c5a896b098ebf152e">VIDType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>顶点编号的数据类型 </p>

<p>Definition at line <a class="el" href="vertex_8h_source.html#l00025">25</a> of file <a class="el" href="vertex_8h_source.html">vertex.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac4aef8b9a11955883ec6f3d3d80d0c8d"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename KType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">IntrodunctionToAlgorithm::GraphAlgorithm::Vertex</a>&lt; KType &gt;::<a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">Vertex</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>默认构造函数，将<code>key</code>设为<code>KType()</code>，编号设为-1，父节点编号设为-1 </p>

<p>Definition at line <a class="el" href="vertex_8h_source.html#l00028">28</a> of file <a class="el" href="vertex_8h_source.html">vertex.h</a>.</p>

</div>
</div>
<a class="anchor" id="a76a188bd466091ab24db73b66552a2cc"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename KType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">IntrodunctionToAlgorithm::GraphAlgorithm::Vertex</a>&lt; KType &gt;::<a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">Vertex</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ada86f69d9e5f5dcb47b7be1e3a208d06">KeyType</a> &amp;&#160;</td>
          <td class="paramname"><em>k</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>显式构造函数，指定<code>key</code> </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">k:顶点存放的数据</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="vertex_8h_source.html#l00033">33</a> of file <a class="el" href="vertex_8h_source.html">vertex.h</a>.</p>

</div>
</div>
<a class="anchor" id="a393cb4699ee313b284fe55e036563d5e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename KType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">IntrodunctionToAlgorithm::GraphAlgorithm::Vertex</a>&lt; KType &gt;::<a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">Vertex</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ada86f69d9e5f5dcb47b7be1e3a208d06">KeyType</a> &amp;&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ac1913974a4b8371c5a896b098ebf152e">VIDType</a>&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>显式构造函数，指定<code>key</code>和编号 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">k:顶点存放的数据</td><td></td></tr>
    <tr><td class="paramname">d:顶点的编号</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="vertex_8h_source.html#l00039">39</a> of file <a class="el" href="vertex_8h_source.html">vertex.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a982554041f07fc2aaf067fa7e10928b2"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename KType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::string <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">IntrodunctionToAlgorithm::GraphAlgorithm::Vertex</a>&lt; KType &gt;::to_string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>to_string：返回顶点的字符串描述 </p>
<dl class="section return"><dt>Returns</dt><dd>:顶点的字符串描述</dd></dl>
<p>依次输出顶点的<code>id</code>、<code>key</code>以及<code>parent_id</code>信息。 </p>

<p>Definition at line <a class="el" href="vertex_8h_source.html#l00047">47</a> of file <a class="el" href="vertex_8h_source.html">vertex.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a7010bd64e704f2d210c37007d30fbfa9"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename KType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ac1913974a4b8371c5a896b098ebf152e">VIDType</a> <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">IntrodunctionToAlgorithm::GraphAlgorithm::Vertex</a>&lt; KType &gt;::id</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>顶点id，一旦顶点生成则id不可变 </p>

<p>Definition at line <a class="el" href="vertex_8h_source.html#l00057">57</a> of file <a class="el" href="vertex_8h_source.html">vertex.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab85342bae9a63d83eff811557c07e58e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename KType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ada86f69d9e5f5dcb47b7be1e3a208d06">KeyType</a> <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">IntrodunctionToAlgorithm::GraphAlgorithm::Vertex</a>&lt; KType &gt;::key</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>顶点存储数据 </p>

<p>Definition at line <a class="el" href="vertex_8h_source.html#l00056">56</a> of file <a class="el" href="vertex_8h_source.html">vertex.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac812f623d4955401f9e2c8f45b4d434d"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename KType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html#ac1913974a4b8371c5a896b098ebf152e">VIDType</a> <a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">IntrodunctionToAlgorithm::GraphAlgorithm::Vertex</a>&lt; KType &gt;::parent_id</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>顶点的父节点id </p>

<p>Definition at line <a class="el" href="vertex_8h_source.html#l00058">58</a> of file <a class="el" href="vertex_8h_source.html">vertex.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>src/graph_algorithms/basic_graph/graph_vertex/<a class="el" href="vertex_8h_source.html">vertex.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_introdunction_to_algorithm.html">IntrodunctionToAlgorithm</a></li><li class="navelem"><a class="el" href="namespace_introdunction_to_algorithm_1_1_graph_algorithm.html">GraphAlgorithm</a></li><li class="navelem"><a class="el" href="struct_introdunction_to_algorithm_1_1_graph_algorithm_1_1_vertex.html">Vertex</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.10 </li>
  </ul>
</div>
</body>
</html>
